package com.example.demo.vo;

import com.example.demo.model.Department;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

//一般用于定义sql中的resultType,只需要指定字段
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class UserBriefVo {
    private Long id;
    private String name;
    private Integer age;
    private String sex;
    private String introduction;
    private Department department;
}
